include $(GNUSTEP_MAKEFILES)/common.make

ifeq ($(test), yes)
BUNDLE_NAME = HParser
else
LIBRARY_NAME = HParser
endif

HParser_OBJC_FILES = scan.m 

HParser_HEADER_FILES = HParser.h

ifeq ($(test), yes)
HParser_OBJC_FILES += Test.m 
endif

ifeq ($(FOUNDATION_LIB), apple)
ifeq ($(test), yes)
        HParser_OBJC_LIBS += -framework UnitKit
endif
else
ifeq ($(test), yes)
        HParser_LDFLAGS += -lUnitKit
endif
endif

ifeq ($(test), yes)
include $(GNUSTEP_MAKEFILES)/bundle.make
else
include $(GNUSTEP_MAKEFILES)/library.make
endif
-include GNUmakefile.postamble

